package cn.asterly.cicada.service.base;

import cn.asterly.cicada.model.Webinfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IBaseServiceInt<T> {
    boolean deleteByPrimaryKey(Integer id);

    boolean insert(T record);

    boolean insertSelective(T record);

    T selectByPrimaryKey(Integer id);

    boolean updateByPrimaryKeySelective(T record);

    boolean updateByPrimaryKey(T record);

    List<T> selByAll();
}
